 package net.go176.backpack.gui;
 
 import java.util.ArrayList;
 import java.util.List;

 import net.go176.backpack.core.DataType;


 public enum InventoryType
 {
   Inventory("inv", "Inventory", DataType.VANILLA),
   EnderChest("ender", "Ender Chest", DataType.VANILLA),
   Aether_Accessories("aether", "Aether Accessories", DataType.AETHER),
   Baubles_Inventory("baubles", "Baubles Inventory", DataType.BAUBLES);
   
   public final String label;
   public final String invName;
   public final DataType dataType;
   
   InventoryType(String label, String invName, DataType dataType) {
     this.label = label;
    this.invName = invName;
     this.dataType = dataType; } public static InventoryType getType(String label) {
     byte b;
     int i;
     InventoryType[] arrayOfInventoryType;
     for (i = (arrayOfInventoryType = values()).length, b = 0; b < i; ) { InventoryType invType = arrayOfInventoryType[b];
       if (invType.label.equals(label))
        return invType;  b++; }
     
     return null;
   }
   
   public static List<String> getLabels() {
     List<String> labels = new ArrayList<>(); byte b; int i; InventoryType[] arrayOfInventoryType;
     for (i = (arrayOfInventoryType = values()).length, b = 0; b < i; ) { InventoryType invType = arrayOfInventoryType[b];
       labels.add(invType.label); b++; }
      return labels;
   }
 }


/* Location:              D:\User\Xuan\Downloads\MyBackpack1.2.5.jar!\net\saralab\mybackpack\gui\InventoryType.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.1.3
 */